import CombatBase from "@/Battle/CombatBase.js";
export class Instrusion extends CombatBase{
    constructor(){super();this.handlers={};}
    load(){this.onload();}
    on(name,cb){this.handlers[name]=cb;}
    emit(name,...args){this.handlers[name]?.(...args);}
    unload(){
        this.handlers={};
        this.onunload();
    }
    onload(){}
    onunload(){}
    
}